package com.example.orderfood2.entity;

public class Teacher {
    private Integer id;
    private String username;
    private String password;
    private String sex;
    private String title;
    private String date;
    private String science;

    public Teacher(Integer id, String username, String password, String sex, String title, String date, String science) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.sex = sex;
        this.title = title;
        this.date = date;
        this.science = science;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String data) {
        this.date = data;
    }

    public String getScience() {
        return science;
    }

    public void setScience(String science) {
        this.science = science;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", title='" + title + '\'' +
                ", data='" + date + '\'' +
                ", science='" + science + '\'' +
                '}';
    }
}
